ElasticPress\Feature\Search\Weighting B

Total Complexity 88
Dependencies 1
Dependents 1
Total lines 682
Lines of code 386
Logical lines of code 177
Comment lines 221
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
recursively_inject_weights_to_fields()
B
42 20 49
do_weighting()
A
40 15 60
save_weighting_configuration()
A
46 14 36
render_settings_section()
A
43 12 51
render_settings_page()
S
44 5 49
get_weightable_fields_for_post_type()
S
45 3 47
post_type_has_fields()
S
55 4 19
get_post_type_default_settings()
S
50 3 31
handle_save()
S
61 4 12
adjust_weight_for_cross_fields()
S
69 3 6
setup()
S
64 2 9
get_weighting_configuration()
S
78 1 3
add_weighting_submenu_page()
S
65 1 10
redirect()
S
77 1 4